import request from '@/utils/request'

export function selectID(regId) {
  return request({
    url: '/cltmanage/charge/selectID/'+regId,
    method: 'get',
  })
}
export function selectOne(query) {
  return request({
    url: '/cltmanage/chargelist/selectOne',
    method: 'get',
    params:query,
  })
}
export function selectAll() {
  return request({
    url: '/cltmanage/chargelist/selectAll',
    method: 'get',
  })
}
export function updateCash(id) {
  return request({
    url: '/cltmanage/charge/updateCash/'+id,
    method: 'get',
  })
}
export function updateWeb(id) {
  return request({
    url: '/cltmanage/charge/updateWeb/'+id,
    method: 'get',
  })
}

export function update(paintId,type) {
  return request({
    url: '/cltmanage/chargelist/update/'+paintId+'/'+type,
    method: 'get',
  })
}
export function select(id) {
  return request({
    url: '/cltmanage/chargelist/select/'+id ,
    method: 'get',
  })
}


